package com.ywy.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import com.ywy.entity.Cloth;
import com.ywy.entity.ColorAndSize;

@Repository
public interface ColorAndSizeMapper {

	public boolean addColorAndSizeInfo(ColorAndSize cas);

	public List<ColorAndSize> getClothInfoBykey(@Param("start") int start, @Param("pageSize") int pageSize,
			@Param("key") String key);

	public int getcountBykey(String key);
}